cmake_minimum_required (VERSION 2.6)
project(T22DShapes)

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules")

find_package(PkgConfig REQUIRED)
pkg_search_module(GLFW REQUIRED glfw3)

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)

set(T2_EXE t2)

set(T2_SOURCES src/main.cpp)

include_directories(${GLFW_INCLUDE_DIRS})

add_executable(${T2_EXE} ${T2_SOURCES})

target_link_libraries(${T2_EXE} ${GLFW_LIBRARIES})
